package file;

import java.io.File;

public class Test6 {
    public static void main(String[] args) {
        File file = new File("d:/test/test2/test1");
        System.out.println(file.isDirectory());
        System.out.println(file.isFile());
        System.out.println(file.mkdirs());
        System.out.println(file.isDirectory());
        System.out.println(file.isFile());
    }
}
